home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / GNUstep / Makefiles / config-noarch.make < prev    next >
Encoding:
Text File  |  2010-05-31  |  5.9 KB  |  164 lines

  1. #
  2. #   config-noarch.make.in
  3. #
  4. #   The settings required by the makefile package that are determined
  5. #   by configure but that are independent of the platform that we
  6. #   are working on (keep in mind we can support multiple platforms
  7. #   being used at the same time!).
  8. #
  9. #   In practice, this file should containg global gnustep-make options
  10. #   (like GNUSTEP_IS_FLATTENED or GNUSTEP_SYSTEM_ROOT), as opposed to
  11. #   config info needed to build or compile or do things on a certain
  12. #   platform (like CC or OPTFLAG), which should go into config.make
  13. #
  14. #   Copyright (C) 1997-2006 Free Software Foundation, Inc.
  15. #
  16. #   Author:  Scott Christley <scottc@net-community.com>
  17. #   Author:  Ovidiu Predescu <ovidiu@net-community.com>
  18. #   Author:  Nicola Pero <n.pero@mi.flashnet.it>
  19. #
  20. #   This file is part of the GNUstep Makefile Package.
  21. #
  22. #   This library is free software; you can redistribute it and/or
  23. #   modify it under the terms of the GNU General Public License
  24. #   as published by the Free Software Foundation; either version 3
  25. #   of the License, or (at your option) any later version.
  26. #   
  27. #   You should have received a copy of the GNU General Public
  28. #   License along with this library; see the file COPYING.
  29. #   If not, write to the Free Software Foundation,
  30. #   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  31.  
  32. #
  33. # The GNUstep Make Package Version
  34. #
  35. GNUSTEP_MAKE_MAJOR_VERSION=2
  36. GNUSTEP_MAKE_MINOR_VERSION=4
  37. GNUSTEP_MAKE_SUBMINOR_VERSION=0
  38. GNUSTEP_MAKE_VERSION=2.4.0
  39.  
  40. # Enable or disable strict gnustep-make v2 mode.  In strict
  41. # gnustep-make v2 mode, we actively try to be backwards-incompatible
  42. # with gnustep-make v1.  This dangerous option is useful in
  43. # test/development builds when you want to make sure your software has
  44. # been properly updated to gnustep-make v2.
  45. #
  46. # If this option is set to 'yes', we enable strict gnustep-make v2
  47. # mode.  Else, it's ignored.
  48. #
  49. GNUSTEP_MAKE_STRICT_V2_MODE=no
  50.  
  51. # The default library combination
  52. default_library_combo = gnu-gnu-gnu
  53.  
  54. #
  55. # Location of GNUstep's config file for this installation
  56. #
  57. # Warning - the base library's configure.in will extract the GNUstep
  58. # config file location from the following line using grep/sed - so if
  59. # you change the following lines you *need* to update the base library
  60. # configure.in too.
  61. #
  62. # PS: At run-time, this can be overridden on the command-line, or
  63. # via an environment variable.
  64. ifeq ($(GNUSTEP_CONFIG_FILE),)
  65. GNUSTEP_CONFIG_FILE = /etc/GNUstep/GNUstep.conf
  66. endif
  67.  
  68. #
  69. # Now we set up the environment and everything by reading the GNUstep
  70. # configuration file(s).
  71. #
  72.  
  73. # These are the defaults value ... they will be used only if they are
  74. # not set in the config files (or on the command-line or in
  75. # environment).
  76. ifeq ($(GNUSTEP_MAKE_STRICT_V2_MODE),yes)
  77. # FIXME: These should abort if the variables are ever evaluated, but
  78. # it needs testing.
  79. #  GNUSTEP_SYSTEM_ROOT = $(error GNUSTEP_SYSTEM_ROOT is obsolete)
  80. #  GNUSTEP_LOCAL_ROOT = $(error GNUSTEP_LOCAL_ROOT is obsolete)
  81. #  GNUSTEP_NETWORK_ROOT = $(error GNUSTEP_NETWORK_ROOT is obsolete)
  82. #  GNUSTEP_USER_DIR = $(error GNUSTEP_USER_DIR is obsolete)
  83. else
  84.   GNUSTEP_SYSTEM_ROOT = /usr/System
  85.   GNUSTEP_LOCAL_ROOT = /usr/Local
  86.   GNUSTEP_NETWORK_ROOT = /usr/Network
  87.   GNUSTEP_USER_DIR = GNUstep
  88. endif
  89.  
  90. # This includes the GNUstep configuration file, but only if it exists
  91. -include $(GNUSTEP_CONFIG_FILE)
  92.  
  93. # FIXME: determining GNUSTEP_HOME
  94. GNUSTEP_HOME = $(HOME)
  95.  
  96. # Read the user configuration file ... unless it is disabled (ie, set
  97. # to an empty string)
  98. ifneq ($(GNUSTEP_USER_CONFIG_FILE),)
  99.  
  100.  # FIXME - Checking for relative vs. absolute paths!
  101.  ifneq ($(filter /%, $(GNUSTEP_USER_CONFIG_FILE)),)
  102.   # Path starts with '/', consider it absolute
  103.   -include $(GNUSTEP_USER_CONFIG_FILE)
  104.  else
  105.   # Path does no start with '/', try it as relative
  106.   -include $(GNUSTEP_HOME)/$(GNUSTEP_USER_CONFIG_FILE)
  107.  endif 
  108.  
  109. endif
  110.  
  111. # GNUSTEP_FLATTENED is obsolete, please use GNUSTEP_IS_FLATTENED
  112. # instead
  113. ifeq ($(GNUSTEP_MAKE_STRICT_V2_MODE),yes)
  114. # FIXME: Test that this is OK
  115. #  GNUSTEP_FLATTENED = $(error GNUSTEP_FLATTENED is obsolete)
  116. else
  117.   GNUSTEP_FLATTENED = yes
  118. endif
  119. GNUSTEP_IS_FLATTENED = yes
  120.  
  121. #
  122. # Set GNUSTEP_USER_ROOT from GNUSTEP_USER_DIR; GNUSTEP_USER_ROOT is
  123. # the variable used in practice
  124. #
  125. ifneq ($(GNUSTEP_MAKE_STRICT_V2_MODE),yes)
  126.   ifneq ($(filter /%, $(GNUSTEP_USER_DIR)),)
  127.    # Path starts with '/', consider it absolute
  128.    GNUSTEP_USER_ROOT = $(GNUSTEP_USER_DIR)
  129.   else
  130.    # Path does no start with '/', try it as relative
  131.    GNUSTEP_USER_ROOT = $(GNUSTEP_HOME)/$(GNUSTEP_USER_DIR)
  132.   endif 
  133. else
  134. # FIXME: Test that this is OK.  When I use it, it seems to
  135. # abort even if GNUSTEP_USER_ROOT is never referenced!
  136. #  GNUSTEP_USER_ROOT = $(error GNUSTEP_USER_ROOT is obsolete)
  137. endif
  138.  
  139. # If multi-platform support is disabled, just use the hardcoded cpu,
  140. # vendor and os determined when gnustep-make was configured.  The
  141. # reason using the hardcoded ones might be better is that config.guess
  142. # and similar scripts might even require compiling test files to
  143. # determine the platform - which is horribly slow (that is done in
  144. # names.make if GNUSTEP_HOST is not yet set at that stage).  To
  145. # prevent this problem, unless we were configured to determine the
  146. # platform at run time, by default we use the hardcoded values of
  147. # GNUSTEP_HOST*.
  148.  
  149. ifeq ("","")
  150.   GNUSTEP_HOST = i486-pc-linux-gnu
  151.   GNUSTEP_HOST_CPU = ix86
  152.   GNUSTEP_HOST_VENDOR = pc
  153.   GNUSTEP_HOST_OS = linux-gnu
  154. endif
  155.  
  156. # Enables of disables parallel building support.  When parallel
  157. # building support is disabled, the target .NOTPARALLEL: is used in
  158. # all make invocations of gnustep-make to make sure a traditional non
  159. # parallel build is always performed.  When parallel building support
  160. # is enabled, all make invocations are still .NOTPARALLEL except for
  161. # an additional make invocation which is performed when compiling an
  162. # executable or library; that invocation does not use .NOTPARALLEL and
  163. # will compile all the files of the executable or library in parallel.
  164. GNUSTEP_MAKE_PARALLEL_BUILDING = yes